package qf.sail.service;

import qf.sail.entity.OrderItem;

import java.util.List;

public interface ShopCarService {
    //插入购物车子项，返回id
    public Long addItemToShopCar(long goodId, long shopCarId, String size, String color, int count);

    //根据购物车id，查询订单子项
    public List<OrderItem> getItemsByShopCarId(long shopCarId);
}
